﻿using System.Collections.Generic;

namespace PgBirdie.Core.Model.Database.Structure.Constraint
{
    public class PgPrimaryKey : PgConstraintBase
    {
        public IList<string> ColumnNames { get; private set; }

        public PgPrimaryKey(string name, PgTable table, ConstraintType constraintType, IList<string> columnNames)
            : base(name, table, constraintType)
        {
            ColumnNames = columnNames;
        }
    }
}